home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20030409-20031118 / 000024_JDanSkinner@JDanSkinner.com_Tue Apr 29 09:41:49 EDT 2003.msg < prev    next >
Text File  |  2020-01-01  |  3KB  |  63 lines

  1. Article: 14240 of comp.protocols.kermit.misc
  2. Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!iad-peer.news.verio.net!news.verio.net!news.maxwell.syr.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail
  3. From: JDanSkinner@JDanSkinner.com (Dan Skinner)
  4. Newsgroups: comp.protocols.misc,comp.protocols.kermit.misc,comp.protocols.ppp
  5. Subject: Re: Communication protocol for direct serial link (null-modem or similar)?
  6. Date: 28 Apr 2003 16:46:24 -0700
  7. Organization: http://groups.google.com/
  8. Lines: 44
  9. Message-ID: <8ce22d01.0304281546.7fcd7cdf@posting.google.com>
  10. References: <3R6qa.6946$b71.104830@news4.e.nsc.no>
  11. NNTP-Posting-Host: 24.159.192.106
  12. Content-Type: text/plain; charset=ISO-8859-1
  13. Content-Transfer-Encoding: 8bit
  14. X-Trace: posting.google.com 1051573585 26283 127.0.0.1 (28 Apr 2003 23:46:25 GMT)
  15. X-Complaints-To: groups-abuse@google.com
  16. NNTP-Posting-Date: 28 Apr 2003 23:46:25 GMT
  17. Xref: newsmaster.cc.columbia.edu comp.protocols.misc:9760 comp.protocols.kermit.misc:14240 comp.protocols.ppp:39864
  18.  
  19. Toralf Lund <toralf-delete-this@procaptura.com> wrote in message news:<3R6qa.6946$b71.104830@news4.e.nsc.no>...
  20. > I'm looking for a protocol that may be used for simple communication
  21. > across a direct serial link - RS232 using null-modem cable or similar -
  22. > between a Linux host and a simple (old) IPC (Intelligent Peripheral
  23. > Controller) board.
  24. > The IPC has no real OS, just a simple, custom kernel, and rather limited
  25. > development support, so the protocol needs to be simple to implement.
  26. > Also, the system is really low-end by today's standards - it's has a
  27. > 12.5Mhz MC68010 CPU and 1Mb RAM - so the runtime must be fairly small and
  28. > efficient.
  29. > The link will be used only to send simple packets ("commands") to the IPC,
  30. > and status from the IPC back to the Linux system; there will be no file
  31. > transfers or anything.
  32. > Protocols I've considered:
  33. > - Kermit
  34. > - AHDLC/LAPB (as utilised e.g. by PPP) - X/Y/Z-modem
  35. > What would you people out there recommend choosing? And does anyone know
  36. > of any good example source code that may help me get started? I'm
  37. > primarily interested in a nice and isolated implementation of the packet
  38. > communication itself, i.e. source code without all the additional bits
  39. > normally found in comms packages, like UI operations, file I/O, modem dial
  40. > etc., which I don't need (and I don't want them there to confuse
  41. > everything.)
  42.  
  43.  
  44. I may be missing the point, but sounds to me like plain old full
  45. duplex
  46. RS232 is all you need.  We all ran terminal sessions on Unix and other
  47. hosts
  48. using this non-protocol for years.  The non-reliability of this hook
  49. up would
  50. show up as a typo, although the error may have been the key struck,
  51. the sending of the key, the receipt of the key, the echo of the key,
  52. or the receipt of the
  53. echo. We fixed it with backspace (rubout) an ended up with machine b
  54. understanding exactly what machine a wanted to send.  We even managed
  55. to send strings of some length in this environment.  I even use this
  56. kind of connection
  57. to automatically start kermit file transfers over modem circuts now.
  58. Regards...Dan.
  59.